apiVersion: v1
kind: Service
metadata:
  namespace: kube-system
  name: coredns-prometheus-discovery
  labels:
    k8s-app: coredns
spec:
  selector:
    k8s-app: kube-dns
  type: ClusterIP
  clusterIP: None
  ports:
  - name: http-metrics
    port: 9153
    targetPort: 9153
    protocol: TCP
